﻿using System.Collections.Generic;
using ApplicationGenerator.Lists.Web;

namespace ApplicationGenerator.Lists.BusinessLogic
{
    public class ListActionFactory
    {
        public static IList<ActionElement> GetListActionDefinitions()
        {
            List<ActionElement> elements = new List<ActionElement>();
            elements.Add(new ActionElement("Szczegóły", typeof(ListActionElementDetails)));
            elements.Add(new ActionElement("Usuń element", typeof(ListActionDeleteElement)));
            elements.Add(new ActionElement("Kontynuuj proces", typeof(ListActionContinueWorkflow)));
            elements.Add(new ActionElement("Kontynuuj wybrany proces", typeof(ListActionContinueSelectedWorkflow)));
            elements.Add(new ActionElement("Wywołaj web serwis", typeof(ListActionInvokeWebService)));
            elements.Add(new ActionElement("Dodaj nowy element", typeof(ListActionAddToList)));

            return elements;
        }

    }
}
